[gd_scene load_steps=3 format=3 uid="uid://d2mhha2s68kb8"]

[ext_resource type="Script" path="res://src/UI/GameOverScreen.gd" id="1_uxdg8"]

[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_jkvfv"]

[node name="GameOverScreen" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_uxdg8")

[node name="ColorRect" type="ColorRect" parent="."]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
color = Color(0.145098, 0.392157, 0.368627, 1)

[node name="CenterContainer" type="CenterContainer" parent="."]
layout_mode = 0
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2

[node name="VBoxContainer" type="VBoxContainer" parent="CenterContainer"]
layout_mode = 2
theme_override_constants/separation = 10

[node name="Label" type="Label" parent="CenterContainer/VBoxContainer"]
layout_mode = 2
theme_override_font_sizes/font_size = 50
text = "game over"
horizontal_alignment = 1

[node name="HSeparator" type="HSeparator" parent="CenterContainer/VBoxContainer"]
layout_mode = 2
theme_override_constants/separation = 10
theme_override_styles/separator = SubResource("StyleBoxEmpty_jkvfv")

[node name="HBoxContainer" type="HBoxContainer" parent="CenterContainer/VBoxContainer"]
layout_mode = 2
alignment = 1

[node name="yourscoretext" type="Label" parent="CenterContainer/VBoxContainer/HBoxContainer"]
layout_mode = 2
text = "your score:"

[node name="ScoreLabel" type="Label" parent="CenterContainer/VBoxContainer/HBoxContainer"]
layout_mode = 2
text = "0"

[node name="NewHighscoreContainer" type="HBoxContainer" parent="CenterContainer/VBoxContainer"]
visible = false
layout_mode = 2
alignment = 1

[node name="newhighscoretext" type="Label" parent="CenterContainer/VBoxContainer/NewHighscoreContainer"]
layout_mode = 2
text = "new highscore !!!"

[node name="NoHighscoreContainer" type="HBoxContainer" parent="CenterContainer/VBoxContainer"]
visible = false
layout_mode = 2
alignment = 1

[node name="highscoretext" type="Label" parent="CenterContainer/VBoxContainer/NoHighscoreContainer"]
layout_mode = 2
text = "highscore:
"

[node name="highscoreLabel" type="Label" parent="CenterContainer/VBoxContainer/NoHighscoreContainer"]
layout_mode = 2
text = "0"

[node name="RetryButton" type="Button" parent="CenterContainer/VBoxContainer"]
layout_mode = 2
text = "retry
"

[node name="LevelSelectionButton" type="Button" parent="CenterContainer/VBoxContainer"]
layout_mode = 2
text = "choose different level
"

[node name="ExitButton" type="Button" parent="CenterContainer/VBoxContainer"]
layout_mode = 2
text = "back to main menu
"

[connection signal="pressed" from="CenterContainer/VBoxContainer/RetryButton" to="." method="_on_retry_button_pressed"]
[connection signal="pressed" from="CenterContainer/VBoxContainer/LevelSelectionButton" to="." method="_on_level_selection_button_pressed"]
[connection signal="pressed" from="CenterContainer/VBoxContainer/ExitButton" to="." method="_on_exit_button_pressed"]
